package jsen.tool.ddd.demo.domain.brand.event;

import jsen.tool.ddd.adapter.event.DomainEvent;

/**
 * @author jsen
 * @date 2021/10/6
 */
public class BrandCreateEvent implements DomainEvent {

    private final int version;
    private final String id;
    private final long occurredOn;
    private Long brandId;

    public BrandCreateEvent(int version, String id, long occurredOn) {
        this.version = version;
        this.id = id;
        this.occurredOn = occurredOn;
    }

    @Override
    public int getVersion() {
        return 0;
    }

    @Override
    public long getOccurredOn() {
        return 0;
    }

    @Override
    public String getId() {
        return null;
    }
}
